<#include "../../page.ftl" />
<#include "../../display.ftl"/>
<#assign security=JspTaglibs["/WEB-INF/security.tld"] />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th style="width: 35px;"><input id="checkAll" type="checkbox" value=""></th>
        <th>配置ID</th>
        <th>功能名称</th>
        <th>样式配置</th>
        <th>功能链接</th>
        <th>功能类型</th>
        <th>排序号</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <#if homeConfigurationsTable.rows??>
        <#list homeConfigurationsTable.rows as homeConfiguration>
        <tr>
            <td><input name="ids" type="checkbox" value="${homeConfiguration.id?c}"></td>
            <td>${homeConfiguration.confId!''}</td>
            <td>${homeConfiguration.confName!''}</td>
            <td>${homeConfiguration.confClass!''}</td>
            <td>${homeConfiguration.confLink!''}</td>
            <td><@display list=confTypeList value="${homeConfiguration.confType!''}"/></td>
            <td>${homeConfiguration.sortNo!''}</td>
            <td>
                <@security.authorize ifAnyGranted="ROLE_HOME_CONF_E">
                    <a class="btn btn-green btn-radio nopadding"
                       onclick="return popAddOrModify(${homeConfiguration.id?c});" title="编辑"><i class="fa fa-edit"></i></a>
                </@security.authorize>
        </tr>
        </#list>
    </#if>
    </tbody>
</table>
<#if homeConfigurationsTable??>
    <@page table=homeConfigurationsTable formId="search_homeConfiguration_table"/>
</#if>